package com.fadadianqi.logistics.admin.staff.dao;

import com.fadadianqi.logistics.admin.staff.model.MasterGroup;
import com.fadadianqi.commons.BaseDAO;

import java.util.List;

public interface MasterGroupDAO extends BaseDAO<MasterGroup> {

    MasterGroup getWithMasterIdAndGroupId(
            String masterId, String groupId);

    List<MasterGroup> findByMasterId(String id);

    void delByMasterId(String masterId);

}
